# @Author: dpf
# @Date  : 2024/12/02/16:47

class BookType:
    id = None

    bookTypeName = None

    bookTypeDesc = None

    def __init__(self, bookTypeName, bookTypeDesc):
        self.bookTypeName = bookTypeName
        self.bookTypeDesc = bookTypeDesc

    @staticmethod
    def my_constructor(id, bookTypeName, bookTypeDesc):
        obj = BookType(bookTypeName, bookTypeDesc)
        obj.id = id
        return obj
